package designMode.bridge;

/**
 * Created by 小星打屁屁 on 2015/4/19.
 * contact me ==>243709758@qq.com
 */
public class Client {

    public static void main(String[] args){
       AbstractRoad road1 = new SpeedRoad();
       road1.acar = new MotoCar();
       road1.run();
       AbstractRoad road2 = new StreetRoad();
       road2.acar = new BusCar();
       road2.run();
    }
  }
